The Adapter – An Abstraction Mechanism for Aspect Weaving

نویسنده

  • Chao-Hsin Lin
چکیده

Although the aspect-oriented technology allows aspect weaver to weave aspect components across the function boundary, it seems that current aspect-oriented technologies are not handling the hardwired linkage well. The hardwired linkage can be typically found in reflection-based AOP approaches to date, and it may raise different issues regarding which kind of weavers (general-purposed or domain-specific) is used. This paper considers that the hardwired linkage is not a trivial issue, and might restrict the aspect-oriented concepts to be further practically applied to the large-scaled software development. To deal with the hardwired linkage issues this paper presents the adapter object model, which is characterized by 1) extending the object model that programmers can attach different attributes onto individual behavior declared in the traditional object (e.g., C++ object), and then 2) separating this object model into three parts, namely the functional object, the adapter and the meta object. The first allows the base object can be reserved intact while merging new aspects. The second is designated in a way that the meta-level customization can be encapsulated and modularized by a virtual adapter. And then, by plugging the virtual adapter into base objects, programmers can concrete the virtual adapter with respective to each object’s status and affect the decision-making in the meta-level customization. In this way, we expect that the hardwired linkage issue can be dealt with and thus support the reuse of the meta-level customization for a variety of objects.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Study of Dynamic Weaving for Aspect-Oriented Programming

The previous implementations of dynamic weaving in AOP (AspectOriented Programming) systems have drawbacks although it is receiving growing interests in both the academia and the industry. Typical dynamic weaving techniques are divided into two kinds of levels in terms of granularity of aspect weaving: a class-level and an object-level weaving. Either of weaving techniques also has each problem...

متن کامل

The Dsaw Aspect-Oriented Software Development Platform

Aspect-Oriented Software Development (AOSD) provides systematic means to modular-ize crosscutting concerns in software development. Common AOSD benefits are a higher level of abstraction, concern reuse, better legibility, and software maintainability improvement. In AOSD, static weaving implementations commonly obtain better runtime performance, whereas dynamic weaving provides runtime applicat...

متن کامل

From Weaving Schemes to Weaving Patterns ∗

Coming out from the process functional paradigm and using PFL – a process functional language, a generalized approach to weaving at the micro-structural level is presented. Exploiting the application of processes and PFL reflection property, we develop a generalized weaving scheme and we express it in the form of weaving pattern. Different specializations and extensions of weaving patterns occu...

متن کامل

Rewriting Logic Model of Compositional Abstraction of Aspect-Oriented Software

Abstraction is an operation of software specifications widely used in formal development and verification. One of the desirable features of the operation is compositionality. It would make abstraction easier to deal with if a system can be abstracted by composing the individual abstractions of the components of the original system. It is considered that compositional abstractions of aspect-orie...

متن کامل

Lightweight Formal Analysis of Aspect-Oriented Models

In aspect-oriented modeling at early stages of the software development, model descriptions with various abstraction levels are involved so that two kinds of model transformation, refinement as well as weaving, should be considered. We adapt a role-based aspect-oriented modeling method and define a notion of aspect weaving as role merging. We further adapt Alloy, a lightweight formal specificat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000